<nav class="" role="navigation" style=" border-radius: 6px; width:180px; margin-left:20px; height:550px; float:left; background:#fff;">
	<div class="sidebar-collapse">
		<ul class="tpl-left-nav-menu" style="width:180px;">
			<li class="tpl-left-nav-title" style="width:180px; margin-bottom:10px">
				<span><?php echo $conf['sitename'];?> 列表</span>
			</li>

			<li class="tpl-left-nav-item" style="width:180px;">
				<a href="<?php echo url('user-center');?>" class="nav-link <?php if($i=='center'){echo 'active';} ?>">
					<i class="am-icon-home"></i>
					<span>账户首页</span>
				</a>
			</li>

			<?php if($user['is_proxy']==1){ ?>
			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-manage');?>" class="nav-link tpl-left-nav-link-list <?php if($i=='manage'){echo 'active';} ?>">
					<i class="am-icon-user"></i>
					<span>商户管理</span>
				</a>
			</li>
			<?php } ?>

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-info');?>" class="nav-link tpl-left-nav-link-list <?php if($i=='info'){echo 'active';} ?>">
					<i class="am-icon-bar-chart"></i>
					<span>基本资料</span>
				</a>
			</li>

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-bank');?>" class="nav-link tpl-left-nav-link-list <?php if($i=='bank'){echo 'active';} ?>">
					<i class="am-icon-bar-chart"></i>
					<span>收款信息</span>
				</a>
			</li>

			<!--<li class="tpl-left-nav-item">
				<a href="/member/truename" class="nav-link tpl-left-nav-link-list">
					<i class="am-icon-table"></i>
					<span>实名认证</span>
				</a>
			</li>-->

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-password');?>" class="nav-link tpl-left-nav-link-list <?php if($i=='password'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>修改密码</span>
				</a>
			   
			</li>

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-order');?>" class="nav-link tpl-left-nav-link-list <?php if($i=='order'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>交易记录</span>
				</a>
			</li>
			<?php if($user['is_proxy']==1){ ?>
			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-cash'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='cash'){echo 'active';} ?>">
					<i class="am-icon-dollar"></i>
					<span> 申请提现</span>
				</a>
			</li>

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-log-cash');?>" class="nav-link tpl-left-nav-link-list <?php if($i=='log' && param(2)=='cash'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>结算记录</span>
				</a>
			</li>
			<?php } ?>

			<!--<li class="tpl-left-nav-item">-->
				<!--<a href="<?php echo url('user-cashAny'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='cashAny'){echo 'active';} ?>">-->
					<!--<i class="am-icon-dollar"></i>-->
					<!--<span>委托代付</span>-->
				<!--</a>-->
			<!--</li>-->

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-rate'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='rate'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>我的费率</span>
				</a>
			</li>
			<?php if($user['is_proxy']==0){ ?>
			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-store'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='store'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>店铺管理</span>
				</a>
			</li>
			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-channel'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='channel'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>通道管理</span>
				</a>
			</li>
			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-api'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='api'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>接入信息</span>
				</a>
			</li>
			<?php } ?>

			<li class="tpl-left-nav-item">
				<a href="<?php echo url('user-log-login'); ?>" class="nav-link tpl-left-nav-link-list <?php if($i=='log' && param(2)=='login'){echo 'active';} ?>">
					<i class="am-icon-key"></i>
					<span>登录日志</span>
				</a>
			</li>

		</ul>
	</div>
</nav>